package no.gnet.edvd.types;

import org.joda.time.DateTime;


public class Comment extends Persist {


	private static final long serialVersionUID = 7944031207055314129L;
	
	public Comment(){
		
	}	
	
	public String comment;
	public Comment(int id, String comment, Player player, int eventid,
			DateTime timePosted) {
		super();
		this.id=id;
		this.comment = comment;
		this.player = player;
		this.eventid = eventid;
		this.timePosted = timePosted;
	}
	public Player player;
	public int eventid;
	public DateTime timePosted;
	public String getComment() {
		return comment;
	}
	public Player getPlayer() {
		return player;
	}
	public int getEventid() {
		return eventid;
	}
	public DateTime getTimePosted() {
		return timePosted;
	}
	@Override
	public String toString() {
		return "Comment [comment=" + comment + ", player=" + player
				+ ", eventid=" + eventid + ", timePosted=" + timePosted + "]";
	}

}
